package model;
/**
 *this class is Costumer Model which saves the Costumer fields data  which extends User
 * @author jacob
 *
 */

public class CostumerModel extends User  {
	/**rating  */
	private int rating = 0;
	/**interest level of  Customer*/
	private	int interest_level = 0;
	/**
	 * constructor 
	 * @param id of Customer
	 * @param rating of Customer
	 * @param interest_level of Customer
	 */
	public CostumerModel(String id,int rating,int interest_level){
		super(id);
		this.interest_level = interest_level;
		this.rating = rating;
	}
	/**
	 *  full constructor
	 * @param Uid
	 * @param lasttname is last name
	 * @param firstname is firs tname
	 * @param phone
	 * @param email
	 * @param address
	 * @param Age
	 */
	public CostumerModel(String Uid,String lasttname,String firstname,String phone,String email,String address,int Age){
		super(Uid,lasttname,firstname,phone,email,address,Age);
	}
	
	/**
	 * get rating of customer
	 * @return int
	 */
	public int getRating() {
		return rating;
	}
/**
 * set new rating
 * @param rating
 */
	public void setRating(int rating) {
		this.rating = rating;
	}
/**
 * get interest level of customer
 * @return int
 */
	public int getInterest_level() {
		return interest_level;
	}
/**
 * set new interest level
 * @param interest_level
 */
	public void setInterest_level(int interest_level) {
		this.interest_level = interest_level;
	}

}
